package chapter06.e24;

class Dog{
    String eat;
    Integer age;
    public <T> void show(T t){
        System.out.println(t);
    }
}
public class e24 {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.show("Hello! 酷狗");
        dog.show(12);
        dog.show(12.5);
    }
}
